import http from '../../utils/request'
// 级联框
const departmentList = (params: any) => {
    return http.get('visit/department/list', params)
}
// 负责人名称
const adminList = (params: any) => {
    return http.get('visit/admin/list', params)
}
// 添加
const departmentAdd = (data: any) => {
    return http.post('visit/department/add', data)
}

export default { departmentList, adminList, departmentAdd }
